﻿<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:page="urn:page">
    <xsl:output method="html" encoding="utf-8"/>
  <xsl:param name="rowcount"/>			<!--数据库总记录数-->
  <xsl:param name="maxrow"/>				<!--每页记录数-->
  <xsl:param name="curpage"/>				<!--当前页码-->
  <xsl:param name="param"/>					<!--引入 param 参数-->
  <xsl:param name="templatename"/>	<!--Label.xml 模块名称-->
  <xsl:param name="orderby"/>				<!--Label.xml orderby 参数-->
  <xsl:param name="where"/>					<!--Label.xml where 参数-->
  <xsl:param name="runtime"/>				<!--运行时长-->
  <xsl:template match="/"><form id="formMenuEdit" name="formMenuEdit" method="post">
    <table width="100%" border="0"  cellspacing="1" bgcolor="#E0E0E0" style="text-align:left" class="infoEdit">
      
        <tbody>
          <tr bgcolor="#ffffff">
            <td width="120" align="left">编码</td>
            <td align="left"><xsl:value-of select="rows/row/ID"/></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">菜单名称<font color="#ff0000">*</font></td>
            <td align="left" width="350"><input class="input" id="Text" maxlength="24" size="25" name="Text" >
              <xsl:attribute name="value"><xsl:value-of select="rows/row/F_Text"/></xsl:attribute>
              </input>
              <font color="#9e9e9e">&nbsp;12个汉字以内</font></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">图标</td>
            <td align="left"><input class="input" id="ico" maxlength="24" size="25" name="ico">
              <xsl:attribute name="value"><xsl:value-of select="rows/row/F_Ico"/></xsl:attribute>
              </input></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">链接<font color="#ff0000">*</font></td>
            <td align="left"><input class="input" id="F_URL" maxlength="50" size="50" name="F_URL" >
              <xsl:attribute name="value"><xsl:value-of select="rows/row/F_Url"/></xsl:attribute>
              </input></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">顺序号<font color="#ff0000">*</font></td>
            <td align="left"><input class="input" id="Order" maxlength="50" size="50" name="Order" >
              <xsl:attribute name="value"><xsl:value-of select="rows/row/F_Order"/></xsl:attribute>
              </input>值越小排越前</td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">上级菜单<font color="#ff0000">*</font></td>
            <td align="left"><select class="inputbox" id="parentid"  name="parentid">
                <option value="0">===设为根菜单===</option>
                <xsl:value-of select="page:xLoadList('上级菜单选择',0,string(rows/row/F_ParentID))" disable-output-escaping="yes"/>
              </select>
             </td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">打开方式<font color="#ff0000">*</font></td>
            <td align="left"><select class="inputbox" id="Target" 
      style="WIDTH: 60px" name="Target">
                <option value=""></option>
                <option value="iWindow" >
                <xsl:if test="rows/row/F_Target='iWindow'">
                  <xsl:attribute name="selected">1</xsl:attribute>
                </xsl:if>
                默认</option>
                <option value="$new$">
                <xsl:if test="rows/row/F_Target='$new$'">
                  <xsl:attribute name="selected">1</xsl:attribute>
                </xsl:if>
                新窗口</option>
                <option value="$sub$">
                <xsl:if test="rows/row/F_Target='$sub$'">
                  <xsl:attribute name="selected">1</xsl:attribute>
                </xsl:if>
                子目录</option>
              </select></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">是否启用<font color="#ff0000">*</font></td>
            <td align="left"><select class="inputbox" id="UseFlag" style="WIDTH: 50px" name="UseFlag">
                <option value="1" >
                <xsl:if test="rows/row/F_UseFlag=1">
                  <xsl:attribute name="selected">1</xsl:attribute>
                </xsl:if>
                启用</option>
                <option value="0">
                <xsl:if test="rows/row/F_UseFlag=0">
                  <xsl:attribute name="selected">1</xsl:attribute>
                </xsl:if>
                禁用</option>

              </select>
              <font color="#9e9e9e">默认为“不限”</font></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">快捷工具栏<font color="#ff0000">*</font></td>
            <td align="left"><select class="inputbox" id="IsQuick" style="WIDTH: 50px" name="IsQuick">
                <option value="1" >
                <xsl:if test="rows/row/F_IsQuick=1">
                  <xsl:attribute name="selected">1</xsl:attribute>
                </xsl:if>
                是</option>
                <option value="0">
                <xsl:if test="rows/row/F_IsQuick=0 or count(rows/row/F_IsQuick)=0">
                  <xsl:attribute name="selected">1</xsl:attribute>
                </xsl:if>
                否</option>

              </select>
              <font color="#9e9e9e">默认为"不限"</font></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">分隔符<font color="#ff0000">*</font></td>
            <td align="left"><label>
              <input type="radio" name="IsHadLine" value="1" >
              <xsl:if test="rows/row/F_IsHadLine=1">
                <xsl:attribute name="checked">1</xsl:attribute>
              </xsl:if>
              </input>
              显示</label>
              &nbsp;&nbsp;
              <label>
              <input type="radio" name="IsHadLine" value="0"  >
              <xsl:if test="rows/row/F_IsHadLine=0">
                <xsl:attribute name="checked">1</xsl:attribute>
              </xsl:if>
              </input>
              不显示</label></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">参数</td>
            <td align="left"><font color="#9e9e9e">
              <input class="input" id="Parameter" maxlength="250" size="60" name="Parameter">
              <xsl:attribute name="value"><xsl:value-of select="rows/row/F_Parameter"/></xsl:attribute>
              </input>
              请保持在100个字以内</font></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">&nbsp;</td>
            <td height="40" align="left"><input name="f" type="hidden" value="@系统菜单" />
			<input class="btnD" id="Submit1" type="button" value="保存" name="Submit1">
              <xsl:attribute name="onclick">if(TM.saveContentCmd('formMenuEdit',{button:'Submit1',alert:false})==1){TM.pList();}</xsl:attribute>
              </input>
              &nbsp; &nbsp;
              <input class="btnD" type="button" value="取消" name="button" onclick="TM.closeTab()"/>
              &nbsp; &nbsp;
              <input name="editID" type="hidden" id="editID">
              <xsl:attribute name="value"><xsl:value-of select="rows/row/ID"/>
              <xsl:if test="count(rows/row)=0">
                0
              </xsl:if>
              </xsl:attribute>
              </input></td>
          </tr>
        </tbody>
      
    </table></form>
  </xsl:template>
</xsl:stylesheet>
